package com.naiterui.ehp.bs.emr.vo;

import java.io.Serializable;

import org.apache.commons.lang3.builder.ToStringBuilder;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonInclude.Include;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统处方VO(诊疗记录专用)
 *
 * @author lichaopi
 * @since 1.0.0
 */
@ApiModel(value = "RecordPrescriptionVO", description = "系统处方VO")
public class RecordPrescriptionVO implements Serializable {

    private static final long serialVersionUID = 4808157743057097870L;
    @ApiModelProperty(value = "推荐id")
    @JsonInclude(Include.NON_NULL)
    private Long recommendId;

    @ApiModelProperty(value = "图片地址")
    @JsonInclude(Include.NON_NULL)
    private String url;

    /**
     * 推荐作废 0：正常 1：作废
     */
    @JsonInclude(Include.NON_NULL)
    @ApiModelProperty(value = "推荐作废 0：正常 1：作废")
    private Integer invalid;

    public RecordPrescriptionVO() {

    }

    public RecordPrescriptionVO(Long recommendId, String url) {
        this.recommendId = recommendId;
        this.url = url;
    }

    public Long getRecommendId() {
        return this.recommendId;
    }

    public void setRecommendId(Long recommendId) {
        this.recommendId = recommendId;
    }

    public String getUrl() {
        return this.url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Integer getInvalid() {
        return this.invalid;
    }

    public void setInvalid(Integer invalid) {
        this.invalid = invalid;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }

}
